//
//  JSMLeavingDiscoverMoreDetailsModel.m
//  TakeYouTourTogether
//
//  Created by dllo on 15/12/5.
//  Copyright © 2015年 king. All rights reserved.
//

#import "JSMLeavingDiscoverMoreDetailsModel.h"
#import "JSMLeavingDiscoverMoreDetailsDescriptionModel.h"
#import "JSMLeavingDiscoverMoreDetailsInfoModel.h"

@implementation JSMLeavingDiscoverMoreDetailsModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"type"]) {
        self.typeMarr = [NSMutableArray array];
        self.typeMarr = [JSMLeavingDiscoverMoreDetailsDescriptionModel baseModelByArr:value];
    }
    if ([key isEqualToString:@"trails"]) {
        self.trailsMarr = [NSMutableArray array];
        self.trailsMarr = [JSMLeavingDiscoverMoreDetailsInfoModel baseModelByArr:value];
    }
}

@end
